package com.lxl.xm.service;

import com.lxl.xm.common.DailyEarning;
import com.lxl.xm.model.entity.AdCampaign;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 86135
* @description 针对表【ad_campaign( 广告投放表)】的数据库操作Service
* @createDate 2024-01-31 16:32:41
*/
public interface AdCampaignService extends IService<AdCampaign> {
    //近七天收益曲线
    List<DailyEarning>getEarningLast7Days();

    //点击次数排行榜
    List<AdCampaign> getTopCampaignsByClicks(int limit);
}
